<template>
  <v-container class="maxContent mt-5">
    <router-view />
    <!--个人信息侧边栏-->
    <userDrawer />
  </v-container>
</template>

<script>
import userDrawer from '@/components/common/UserDrawer.vue'

export default {
  name: 'blogHome',
  components: {
    userDrawer
  },
  methods: {
    // 进入详情界面
    enterBlogDetail() {
      this.$go('blogDetail')
    },
    // 打开一个新标签页
    enterNewDetail() {
      this.$goNew('blogDetail')
    }
  }
}
</script>
